<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
	"http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title>Test height:auto</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<meta name="viewport" content="width=570" />
		<style type="text/css">
			@import "../../dojo/resources/dojo.css";
			@import "../css/dgrid.css";
			@import "../css/skins/claro.css";
			.heading {
				font-weight: bold;
				padding-bottom: 0.25em;
			}
			#grid {
				width: 400px;
			}
			
			/* styles for autoheight */
			#grid {
				height: auto;
			}
			#grid .dgrid-scroller {
				position: relative;
				overflow-y: hidden;
			}
			.has-ie-6 #grid .dgrid-scroller {
				/* IE6 doesn't react properly to hidden on this page for some reason */
				overflow-y: visible;
			}
			#grid .dgrid-header-scroll {
				display: none;
			}
			#grid .dgrid-header {
				right: 0;
			}
		</style>
		<script type="text/javascript" src="../../dojo/dojo.js" 
			data-dojo-config="async: true"></script>
		<script type="text/javascript">
			require(["dgrid/List", "dgrid/OnDemandGrid","dgrid/Selection", "dgrid/Keyboard", "dojo/_base/declare", "dgrid/test/data/base", "dojo/domReady!"], 
				function(List, Grid, Selection, Keyboard, declare){
					window.grid = new (declare([Grid, Selection, Keyboard]))({
						store: testCountryStore,
						columns: {
							name: "Name",
							type: "Type"
						},
						query: {type:"continent"}
					}, "grid");
				});
				
		</script>
	</head>
	<body class="claro">
		<h2>A basic grid with height:auto</h2>
		<div id="grid"></div>
		<a href="https://github.com/SitePen/dgrid">dgrid</a>
	</body>
</html>
